package com.ruoyi.grade.domain;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

@Repository
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "获取所有学生的总成绩排名返回值")
public class TotalGradeRankMoudle {

    @ApiModelProperty("姓名")
    private String userName;
    @ApiModelProperty("平均绩点排名")
    private int avgGpaRank;
    @ApiModelProperty("平均绩点")
    private BigDecimal avgGpa;
    @ApiModelProperty("专业")
    private String major;
    @ApiModelProperty("学号")
    private String studentId;
    @ApiModelProperty("学年")
    private String academicYear;
    @ApiModelProperty("学期")
    private String semester;

    public String getAcademicYear() {
        return academicYear;
    }

    public void setAcademicYear(String academicYear) {
        this.academicYear = academicYear;
    }

    public String getSemester() {
        return semester;
    }

    public void setSemester(String semester) {
        this.semester = semester;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAvgGpaRank() {
        return avgGpaRank;
    }

    public void setAvgGpaRank(int avgGpaRank) {
        this.avgGpaRank = avgGpaRank;
    }

    public BigDecimal getAvgGpa() {
        return avgGpa;
    }

    public void setAvgGpa(BigDecimal avgGpa) {
        this.avgGpa = avgGpa;
    }

    @Override
    public String toString() {
        return "TotalGradeRankMoudle{" +
                "userName='" + userName + '\'' +
                ", avgGpaRank=" + avgGpaRank +
                ", avgGpa=" + avgGpa +
                '}';
    }
}
